package hc.uco

import java.util.Date;

class ExamesAdmissao {

	Paciente paciente
	static belongsTo = [paciente:Paciente]
	
	BigDecimal hemoglobina
	BigDecimal troponina
	BigDecimal creatinina
	BigDecimal hemoglobinaClicada
	BigDecimal proteinaCreativa
	BigDecimal hematocrito
	Integer leucocitosTotal
	Integer monocitos
	Integer plaquetas
	Integer cpk
	Integer ckmb
	Integer ureia
	Integer potassio
	Integer glicemia
	Integer ldl
	Integer hdl
	Integer triglicerides
	
	Usuario createdBy
	Usuario updatedBy
	Date dateCreated
	Date lastUpdated
	
    static constraints = {
		
		hemoglobina nullable: true, scale: 1
		troponina nullable: true, scale: 1
		creatinina nullable: true, scale: 1
		hemoglobinaClicada nullable: true, scale: 1
		proteinaCreativa nullable: true, scale: 1
		hematocrito nullable: true, scale: 1
		leucocitosTotal nullable: true
		monocitos nullable: true
		plaquetas nullable: true
		cpk nullable: true
		ckmb nullable: true
		ureia nullable: true
		potassio nullable: true
		glicemia nullable: true
		ldl nullable: true
		hdl nullable: true
		triglicerides nullable: true
		
    }
		
}
